module.exports = {
	name: '流程管理',
	model: [
		{
			title: '流程定义分页',
			name: 'flow',
			methods: 'list',
			path: '/task/flow/list'
		},
		{
			title: '业务办理新增数据',
			name: 'reportList',
			methods: 'get',
			path: '/fault/report/use/list'
		},
		{
			title: '流程定义删除',
			name: 'task',
			methods: 'delete',
			options: {
				method: 'delete'
			},
			path: '/task/deploy/remove'
		},
		{
			title: '查看流程',
			name: 'flow',
			methods: 'getById',
			path: '/task/flow/getById'
		},
		{
			title: '流程定义新增和修改',
			name: 'definition',
			methods: 'save',
			options: {
				method: 'post'
			},
			path: '/flow/definition/save'
		},
		{
			title: '流程激活和挂起',
			name: 'definition',
			methods: 'updateState',
			options: {
				method: 'put'
			},
			path: '/task/updateState'
		},
		{
			title: '业务办理分页',
			name: 'myProcess',
			methods: 'page',
			path: '/task/myProcess'
		},
		{
			title: '业务审批待审批分页',
			name: 'todoList',
			methods: 'get',
			path: '/task/todoList'
		},
		{
			title: '获取流程图片',
			name: 'readImage',
			methods: 'get',
			path: '/task/readImage'
		},
		{
			title: '获取流程图片',
			name: 'readImages',
			methods: 'get',
			path: '/task/readImage',
			options: {
				responseType: 'arraybuffer'
			}
		},
		{
			title: '业务办理提交',
			name: 'submit',
			methods: 'start',
			options: {
				method: 'post'
			},
			path: '/task/start'
		},
		{
			title: '业务审批待审批详情',
			name: 'Approval',
			methods: 'info',
			path: '/task'
		},
		{
			title: '业务办理取消',
			name: 'Approval',
			methods: 'cancel',
			options: {
				method: 'delete'
			},
			path: '/task/cancel'
		},
		{
			title: '业务办理流程列表',
			name: 'action',
			methods: 'flowRecord',
			path: '/task/flowRecord'
		},
		{
			title: '业务办理获取表单信息',
			name: 'action',
			methods: 'processVariables',
			path: '/flow/action/processVariables'
		},
		{
			title: '业务审批提交',
			name: 'action',
			methods: 'complete',
			options: {
				method: 'post'
			},
			path: '/task/complete'
		},
		{
			title: '业务审批已审批分页',
			name: 'finished',
			methods: 'get',
			path: '/task/finished'
		},
		{
			title: '业务审批已审批详情',
			name: 'task',
			methods: 'variables',
			path: '/task/history/variables'
		},
		{
			title: '获取流程配置信息',
			name: 'propceeeList',
			methods: 'get',
			path: '/task/definition/list'
		}
	]
};
